Scalar logical clocks